/*
 * @Author: lpz1096
 * @Date: 2021-12-06 19:56:27
 * @LastEditors: lpz1096
 * @LastEditTime: 2021-12-06 19:59:33
 * @Description:
 * @FilePath: \ptadmin\src\utils\filter.js
 */
import Vue from 'vue'
import momentUtil from "@/utils/day"

Vue.filter('formatStamp', function (value) {
  if (!value) {
    return
  }
  return momentUtil.timestamp2Day(value, "YYYY-MM-DD hh:mm:ss")
})
